<template>
    <div>
         <transition>
             <slot></slot>
         </transition>
    </div>
</template>
<script>
export default {
    name:"FadeAnimation"
}
</script>
<style scoped lang="scss">
  .v-enter,{
      opacity:0;
  }
  .v-enter-active{
      transition:opacity .35s;
  }
  .v-leave-to{
      opacity:0
  }
  .v-leave-active{
      transition:opacity .35s
  }
</style>
